#ifndef PERSONNEL_H
#define PERSONNEL_H


 #include <QDialog>
 #include "ui_employes.h"
 class Personnel : public QDialog, private Ui::Personnel
 {
     Q_OBJECT



 public:
     Personnel();
    void showPerso(QTableWidget *persoT,QString field);
void setMode(bool mode);
     void showPerso();
    void clearTable(QTableWidget *persoT);
    void retrive(QTableWidget *persoT);
QList <QString> nom,prenom,cin,cnss,salaire,poste,dateNais,IDList;


 public slots:
     void addAbs(QTableWidget *persoT);
     void remAbs(QTableWidget *persoT);
     /// Solts for + / - signs on the UI
       void addAbs();
     void remAbs();

private:

      };

#endif // PERSONNEL_H
